﻿using System.Collections.Generic;
using System.Xml.Linq;
using Lync.Widget.Library.Presentation.Entities;

namespace Lync.Widget.Library.Presentation.Models
{
    public interface IGroupsModel
    {
        IList<IGroup> GetGroupsAndMembers(string organisationUnit);
        IList<IGroupMember> GetGroupMembers(string organisationUnit, string groupName);
        void SaveConfiguration(IGroupConfig config);
        string GetActiveDirectoryRootFromConfiguration();
        IGroupConfig LoadConfiguration();
        XElement GetConfigurationXml();
    }
}